package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 修改手机号传参对象
 * @Author liuyj
 * @Date 2019-12-11 10:38:11
 */
@Data
@ApiModel(value="修改手机号传参对象", description="修改手机号传参对象")
public class PartyAppChangePhoneDTO extends BasicEntity {


    @ApiModelProperty(value = "原手机号",required = true)
    @NotEmpty(message = "原手机号不能为空")
    private String oldPhone;

    @ApiModelProperty(value = "新手机号")
    @NotEmpty(message = "新手机号不能为空")
    private String newPhone;

    @ApiModelProperty(value = "用户密码",required = true)
    @NotEmpty(message = "用户密码不能为空")
    private String pwd;

}
